package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class BatchCollectionConsignRequest {

    @ApiModelProperty("寄售藏品id列表")
    @NotNull(message = "寄售藏品Id不能为空")
    private List<Long> ids;

    @ApiModelProperty("寄售价格")
    @NotNull(message = "寄售价格不能为空")
    private BigDecimal salesPrice;

    @ApiModelProperty("交易密码")
    @NotBlank(message = "交易密码不能为空")
    private String dealPassword;
}
